import request from '@/utils/request';

export async function query() {
  return request('/wbn-api/users');
}
export async function queryCurrent() {
  return request('/wbn-api/user/info');
}
export async function queryNotices() {
  return request('/wbn-api/notices');
}

export async function querylocalpath() {
  return request('/wbn-api/global_setting/get_setting');
}

export async function setlocalpath(params) {
  return request('/wbn-api/global_setting/update_setting', {
    method: 'PUT',
    data: params,
  });
}
